Inside Macintosh: Memory

Previous | Chapter Top | Chapter Contents | Next

Memory Manager Reference

This section describes the data types and routines provided by the Memory Manager. It describes the general-purpose data types the Memory Manager defines and all routines that relate to manipulating blocks of memory or managing memory in the application heap zone. This section also describes the data structures and routines that allow your application to allocate temporary memory and to use multiple heap zones.

Data Types

Memory Manager Routines

Setting Up the Application Heap

Allocating and Releasing Relocatable Blocks of Memory

Allocating and Releasing Nonrelocatable Blocks of Memory

Changing the Sizes of Relocatable and Nonrelocatable Blocks

Setting the Properties of Relocatable Blocks

Managing Relocatable Blocks

Manipulating Blocks of Memory

Assessing Memory Conditions

Freeing Memory

Grow-Zone Operations

Allocating Temporary Memory

Accessing Heap Zones

Manipulating Heap Zones

Application-Defined Routines

Grow-Zone Functions

Purge-Warning Procedures


© 1997 Apple Computer, Inc.

Previous | Chapter Top | Chapter Contents | Next